package com.bgs.travelapp.approval.service.impl;

import com.bgs.travelapp.approval.entity.ApprovalEntity;
import com.bgs.travelapp.approval.mapper.ApprovalMapper;
import com.bgs.travelapp.approval.service.ApprovalService;
import com.bgs.travelapp.tourNote.eneity.TourNoteEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 后端查询游记状态信息 （后端）
 * hbx 2022年8月22日09:27:44
 */
@Service
public class ApprovalServiceImpl implements ApprovalService {

    @Resource
    ApprovalMapper approvalMapper;

    @Override
    public List<ApprovalEntity> getApprovalAll() {
        ApprovalEntity approvalEntity = new ApprovalEntity();
        List<ApprovalEntity> select = approvalMapper.select(approvalEntity);
        return select;
    }
}
